<link rel="stylesheet" media="screen" href="../style/common.css" />
	<!-- 会员登录条 start-->
	<div id="top">
		<form name="login" id="login" method="post" action="<?=$base_dir?>login.php?act=login" target="_self" style="margin:0px; padding:0px;">
		<div class="topcont">
			<div class="topleft">
			<script type="text/javascript" src="<?=WEBDOMAIN?>/javascript/login.php"></script>
			</div>
			<div class="topright">
			<span class="topspan"><img src="<?=WEBDOMAIN?>/images/icon/icon_09.jpg" /><a href="<?=WEBDOMAIN?>/user/Client/index.php">易配通</a></span>
			<span class="topspan"><img src="<?=WEBDOMAIN?>/images/icon/icon_11.jpg" /><a href="<?=WEBDOMAIN?>/faq/indexList.php">帮助中心</a></span>
			<span class="topspan"><img src="<?=WEBDOMAIN?>/images/icon/icon_13.jpg" /><a href="<?=WEBDOMAIN?>/service.php">客服中心</a></span>
			</div>
		</div>
		</form>
	</div>
	<!-- 会员登录条 end-->
	
	<!-- 头部 start-->
	<div id="header">
		<div id="headerA">
			<div id="logo">
			<div class="logopic"><a href="javascript:void(0)"><img src="<?=WEBDOMAIN?>/images/logo.gif" alt="易配网" width="220" height="68" /></a></div>
			<div class="logotext">中国公路货运专业门户网站</div>
			</div>
			<div class="titlefl"><?=getAd(1)?></div>
			<div id="favorite">
				<div class="fav1"><span class="p20"></span><a href="javascript:void(0)" onclick="SetHome(this,window.location)">设为首页</a></div>
				<div class="fav2"><span class="p20"></span><a href="javascript:void(0)" onclick="AddFavorite(window.location,document.title)">加入收藏</a></div>
				<div class="fav3"><span class="p20"></span><h3><a href="feedback.php" target="_blank">我要提建议</a></h3></div>
			</div>
		</div>
		<div id="headerB">
			<div id="tabbar">
				<div class="barl"></div>
				<div class="tablist">
					<div id="tb_0" class="tb_">
						<ul>
<?
$home_class='normaltab';
$cy_class='normaltab';
$hy_class='normaltab';
$zx_class='normaltab';
$cl_class='normaltab';
$phz_class='normaltab';
$esc_class='normaltab';
$zp_class='normaltab';
$className=$where.'_class';
switch($where)
{
	case 'cy':
		$$className='hovertab';
		break;
	case 'hy':
		$$className='hovertab';
		break;
	case 'zx':
		$$className='hovertab';
		break;
	case 'cl':
		$$className='hovertab';
		break;
	case 'phz':
		$$className='hovertab';
		break;
	case 'esc':
		$$className='hovertab';
		break;
	case 'zp':
		$$className='hovertab';
		break;
	default:
		$home_class='hovertab';
		break;
}
?>
						<li id="tb_11" class="<?=$home_class?>" onclick="location.href='<?=WEBDOMAIN?>';set_tab('tb_1','tbh_1',1,8,'hovertab','dis','normaltab','undis')"><a href="<?=WEBDOMAIN?>">首页</a></li>
						<li id="tb_12" class="<?=$hy_class?>" onclick="location.href='<?=WEBDOMAIN?>/hy/indexList.php';set_tab('tb_1','tbh_1',2,8,'hovertab','dis','normaltab','undis')"><a href="/hy/indexList.php">货源信息</a></li>
						<li id="tb_13" class="<?=$cy_class?>" onclick="location.href='<?=WEBDOMAIN?>/cy/indexList.php';set_tab('tb_1','tbh_1',3,8,'hovertab','dis','normaltab','undis')"><a href="/cy/indexList.php">车源信息</a></li>
						<li id="tb_14" class="<?=$cl_class?>" onclick="location.href='<?=WEBDOMAIN?>/cl/indexList.php';set_tab('tb_1','tbh_1',4,8,'hovertab','dis','normaltab','undis')"><a href="/cl/indexList.php">车辆库</a></li>
						<li id="tb_15" class="<?=$phz_class?>" onclick="location.href='<?=WEBDOMAIN?>/phz/indexList.php';set_tab('tb_1','tbh_1',5,8,'hovertab','dis','normaltab','undis')"><a href="/phz/indexList.php">配货站</a></li>
						<li id="tb_16" class="<?=$zx_class?>" onclick="location.href='<?=WEBDOMAIN?>/zx/indexList.php';set_tab('tb_1','tbh_1',6,8,'hovertab','dis','normaltab','undis')"><a href="/zx/indexList.php">货运专线</a></li>
						<li id="tb_17" class="<?=$esc_class?>" onclick="location.href='<?=WEBDOMAIN?>/esc/indexList.php';set_tab('tb_1','tbh_1',7,8,'hovertab','dis','normaltab','undis')"><a href="/esc/indexList.php">二手车信息</a></li>
						<li id="tb_18" class="<?=$zp_class?>" onclick="location.href='<?=WEBDOMAIN?>/zp/indexList.php';set_tab('tb_1','tbh_1',8,8,'hovertab','dis','normaltab','undis')"><a href="/zp/indexList.php">企业招聘</a></li>
						</ul>
					</div>
					</div>
					<div class="dis" id="tbh_11"></div>
					<div class="undis" id="tbh_12"></div>
					<div class="dis" id="tbh_13"></div>
					<div class="undis" id="tbh_14"></div>
					<div class="dis" id="tbh_15"></div>
					<div class="undis" id="tbh_16"></div>
					<div class="dis" id="tbh_17"></div>
					<div class="undis" id="tbh_18"></div>
				<div class="barr"></div>
			</div>
			<div id="search">
				<div class="searchdate"></div>
				<div style="position:relative;float:left;width:650px;height:45px;">
					<div class="searchbar">
					<form name="search_f1" id="search_f1" action="" method="get" style="margin:0px;">
						<div class="searchbar_search" style="position:relative;float:none;height:25px; line-height:25px;">
								<span class="searchbar_text">我要找</span><span><input name="search_city1" id="search_city1"></span><span class="searchbar_text">到</span><span><input name="search_city2" id="search_city2"></span><span class="searchbar_text">的</span><span><select name="search_page" class="searchbar_select" id="search_page">
									<option value="hy">货源</option>
									<option value="cy">车源</option>
									<option value="zx">专线</option>
								</select>
<?
if(!empty($_GET['search_page']))
{
	echo setselected('search_page',$_GET['search_page']);
}
?>
								</span><span> <input type="button" style="background:url('<?=$base_dir?>images/icon/searchbt.gif');border:0; width:78px;height:22px;" onclick="search_submit()"/>
								</span>
						</div>				
					</form>
					<script language="javascript">
					function search_submit()
					{
						var search_page=G('search_page').value;
						switch(search_page)
						{
							case 'cy':
								G('search_city1').name="from_cityname";
								G('search_city2').name="to_cityname";
								G('search_f1').action='<?=WEBDOMAIN?>/cy/indexList.php';
								break;
							case 'hy':
								G('search_city1').name="from_cityname";
								G('search_city2').name="to_cityname";
								G('search_f1').action='<?=WEBDOMAIN?>/hy/indexList.php';
								break;
							case 'zx':
								G('search_f1').action='<?=WEBDOMAIN?>/zx/indexList.php';
								break;
							default:
								break;
						}
						G('search_f1').submit();
					}
					</script>
					</div>
					<div class="hotis"><h3>热门搜索:</h3></div>
				</div>
				<div class="searchweather">&nbsp; <br />
				&nbsp;</div>
			</div>
		</div>
	</div>
	<!-- 头部 end -->